﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="author" content="ISUX">
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <title>学生详细信息</title>
    <link rel="stylesheet" href="/ViewMob/css/wxui.css?ver=1">
    <link href="//at.alicdn.com/t/font_qqztt1cpq09kke29.css" rel="stylesheet" />
    <link href="/ViewMob/js/layer/need/layer.css" rel="stylesheet" />
    <script src="/ViewMob/js/layer/layer.m.js"></script>
    <style>
        .page {
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            opacity: 0;
            z-index: 1;
        }

            .page.js_show {
                opacity: 1;
            }

        .page__hd {
            background: #4faeff url(../images/bg-account.jpg) 100% 100%;
            padding: 1rem 0;
            text-align: center;
            color: #fff;
        }

        .page__bd_spacing {
            padding: 0 15px;
        }

        .page__ft {
            padding-top: 40px;
            padding-bottom: 10px;
            text-align: center;
        }

            .page__ft img {
                height: 19px;
            }

            .page__ft.j_bottom {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
            }

        .page__title {
            text-align: left;
            font-size: 14px;
            font-weight: 200;
        }

        .page__desc {
            margin-top: 5px;
            color: #888;
            text-align: left;
            font-size: 14px;
        }

        .head-oneself {
            width: 4.5rem;
            height: 4.5rem;
            margin-left: 20px;
        }

            .head-oneself img {
                border: 2px solid rgba(0,0,0,.2);
            }



        .zt {
            background-color: lightgray;
            font-size: 20px;
            color: white;
        }

        .ybl {
            background-color: #10c55b;
            font-size: 20px;
            color: white;
        }

        .YZ {
            POSITION: absolute;
            RIGHT: 10PX;
            TOP: 10PX;
            FONT-SIZE: 70PX;
            COLOR: #ff0000;
            line-height: 70px;
        }

        .bl {
            POSITION: absolute;
            RIGHT: 20PX;
            TOP: 10PX;
            FONT-SIZE: 40PX;
            COLOR: lightgray;
            line-height: 70px;
        }

        .kx {
            background-color: #10c55b;
        }

        .rtable th, .rtable td {
            font-size: 10px;
        }

        .weui-media-box_appmsg .weui-media-box__hd {
            margin-right: .5em;
            font-size: 30px;
            text-align: center;
        }
    </style>
</head>
<body style="background-color: #f8f8f8;" ms-controller="PAGE">
    <div class="page badge js_show">
        <div class="page__hd">
            <div class="weui-flex">
                <div class="head-oneself">
                    <img ms-attr-src="/images/xszp/{{nouser.jsdm}}.jpg" onerror="javascript:this.src='/ViewMob/images/tx1.gif';" style="border-radius: 5%; width: 100%; height: 100%; margin-left: -5px" />
                </div>
                <div class="weui-flex__item">
                    <h1 class="page__title" style="text-align: left; margin-top: 16px; margin-left: 15px;">姓名：{{nouser.xm}}【{{nouser.xb}}】</h1>
                    <h1 class="page__title" style="text-align: left; margin-top: 16px; margin-left: 15px;">工号：{{nouser.xh}}</h1>

                </div>
            </div>


        </div>
        <div class="page__bd">
            <div class="weui-cells" style="margin-top: 0px">
                <div class="weui-cell">
                    <div class="weui-cell__bd">所在院系</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.xbmc}}</span>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">专业</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.zymc}}</span>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">班级</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.bj}}</span>
                    </div>
                </div>
            </div>




            <div class="weui-cells">
                <div class="weui-panel__hd">个人信息</div>


                <div class="weui-cell">
                    <div class="weui-cell__bd">手机号</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.now_smscode}}</span>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">QQ号</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.now_qq}}</span>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">邮箱</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.now_email}}</span>
                    </div>
                </div>

                <div class="weui-cell">
                    <div class="weui-cell__bd">微信</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.now_wxid}}</span>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__bd">地址</div>
                    <div class="weui-cell__ft" style="font-size: 0">
                        <span style="vertical-align: middle; font-size: 17px;">{{nouser.now_addr}}</span>
                    </div>
                </div>
            </div>
        </div>

    </div>


    <script src="../js/jquery-1.11.1.min.js"></script>
    <script src="/ViewMob/js/avalon1.47.js"></script>
    <script src="/WEB/JS/jquery.cityselect.js"></script>
    <script>
        var model = avalon.define({
            $id: "PAGE",
            nouser: {}
        })        avalon.ready(function () {

            $.getJSON("/API/VIEWAPI.ashx?Action=Commanage_GETXSXX&r=" + Math.random(), { xh: getquery("xh") }, function (resultData) {
                if (resultData.ErrorMsg == "") {
                    model.nouser = resultData.Result
                    model.nouser.now_province = model.nouser.now_province ? model.nouser.now_province : "";
                    model.nouser.now_city = model.nouser.now_city ? model.nouser.now_city : "";
                    model.nouser.corp_country = model.nouser.corp_country ? model.nouser.corp_country : "";
                    model.nouser.now_addr = model.nouser.now_addr ? model.nouser.now_addr : "";
                    model.nouser.now_addr = model.nouser.now_province + model.nouser.now_city + model.nouser.corp_country + model.nouser.now_addr;


                }
            });
        })
        function getquery(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;
        }
        function getCookie(name) {
            var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");

            if (arr = document.cookie.match(reg))

                return unescape(arr[2]);
            else
                return null;
        }
        function setCookie(name, value, t) {
            var Days = 30;
            var exp = new Date();
            if (t) {
                exp.setTime(exp.getTime() + parseInt(t) * 24 * 60 * 60 * 1000);
            } else {
                exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
            }
            if (window.location.toString().indexOf("qijieyun") > 0) {
                document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/;domain=qijieyun.com";
            } else {
                document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/";
            }
        }
    </script>
</body>
</html>
